package com.example.myvertx.model;

public class Pet {
  private Long id;
  private String name;

  public Long getId() {
    return id;
  }

  public Pet id(Long id) {
    this.id = id;
    return this;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public Pet name(String name) {
    this.name = name;
    return this;
  }

  public void setName(String name) {
    this.name = name;
  }

  @Override
  public String toString() {
    return "Pet{" +
      "id=" + id +
      ", name='" + name + '\'' +
      '}';
  }
}
